package com.zgxt.demo.service;



import com.zgxt.demo.entity.DialogueDetails;

import java.util.List;
import java.util.Map;

public interface DialogueDetailsService {

    //查询会话记录
    List<DialogueDetails> selectSessionRecord(Integer userId, Integer currentPage, Integer rows);
    //添加会话记录
    void sessionRecord(String content,String userId,Integer identity);
    //删除当前聊天记录
    Integer deleteChat(Integer userId);
    //查询用户
    Map<String,Object> QueryChatHistory(Integer pageIndex, Integer pageSize, String name);
    //删除一条聊天记录
    Integer DisableChatHistory(String ids);
}
